cmake_minimum_required(VERSION 3.0.0)
project(zmq VERSION 0.1.0)

# include(CTest) enable_testing()

message(${PROJECT_SOURCE_DIR})

set(INC_DIR /usr/local/include)
include_directories(${INC_DIR})

find_package(glog REQUIRED)
# find_package(ZeroMQ REQUIRED)
find_package(Threads) # 查找Threads

# aux_source_directory(. )

add_executable(main main.cpp)

target_link_libraries(main zmq glog pthread)

set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
# include(CPack)
